// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial


import { TabWidget, BarTileModel } from "widgets/widgets.slint";
import { Dashboard, WeatherAdapter } from "pages/pages.slint";
import { Header, HeaderAdapter } from "blocks/blocks.slint";

export component BigMain{
    VerticalLayout {
        Header {}

        i-tab-widget := TabWidget {
            tabs: [
                "Dashboard",
                "Energy Flow",
                "Weather",
                "Statistics",
                "Settings",
            ];

            Dashboard {
                index: 0;
                current-index: i-tab-widget.selected-tab;
            }
        }
    }
}